package com.example.xwcommon.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@TableName("admins")
public class Admin {
    @TableId(value = "admin_id")
    private Integer adminId;
    @TableField(value = "admin_name")
    private String adminName;
    @TableField(value="admin_loginname")
    private String adminLoginName;
    @TableField(value = "admin_loginpwd")
    private String adminLoginPwd;
    @TableField(exist = false)
    private List<String> level;
    @TableField(exist = false)
    private List<String> pmses;
    @TableField(exist = false)
    private Map<String, String> map=new HashMap<>();

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminLoginName() {
        return adminLoginName;
    }

    public void setAdminLoginName(String adminLoginName) {
        this.adminLoginName = adminLoginName;
    }

    public String getAdminLoginPwd() {
        return adminLoginPwd;
    }

    public void setAdminLoginPwd(String adminLoginPwd) {
        this.adminLoginPwd = adminLoginPwd;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public List<String> getLevel() {
        return level;
    }

    public void setLevel(List<String> level) {
        this.level = level;
    }

    public List<String> getPmses() {
        return pmses;
    }

    public void setPmses(List<String> pmses) {
        this.pmses = pmses;
    }
}
